


 
:loop



netstat -ano | findstr 0.0.0:8888
echo %ERRORLEVEL%

IF ERRORLEVEL 1 GOTO thenBlock
IF ERRORLEVEL 0 GOTO else_Block 


:thenBlock
		echo   "---is err ,restart 8888   %date% %time% "  >>mainJavaProcessMonite.log
		
		start "startV2_8888" %~dp0startV2_8888.bat
		goto ifBlockend
:thenBlockEnd

:else_Block
		echo   "---is ok"
		goto ifBlockend
:else_Block_End


:ifBlockend


ping 127.0.0.1 -n 10
 
goto loop